/*
 * Copyright (c) 2017. 深圳一七科技. All rights reserved.
 */

package com.yiqi.liebang.feature.wallet.dependencies.wallet;



import com.yiqi.liebang.feature.wallet.presenter.WalletPresenter;
import com.yiqi.liebang.feature.wallet.contract.WalletContract;

import dagger.Module;
import dagger.Provides;

/**
 *      LIJUWEN
 * @email yiyayiyayaoljw@gmail.com
 * @date 2018/7/11 9:27
 */
@Module
public class WalletPresenterModule {
    private final WalletContract.View mView;

    public WalletPresenterModule(WalletContract.View mView) {
        this.mView = mView;
    }

    @Provides
    public WalletContract.Presenter provideWalletPresenter(){
        return  new WalletPresenter(mView);
    }

}
